PATH  Mac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services

   

FlushIconRefs

Reclaims memory used by the specified icon if the memory is purgeable.

pascal OSErr FlushIconRefs(
                     OSType creator,
                     OSType iconType);

creator
A value of type OSType specifying the creator code of the file whose icon data is to be flushed.

iconType
A value of type OSType specifying the type code of the file whose icon data is to be flushed.

function result
A result code. See Icon Services Result Codes for a description of possible return values.

© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)